package com.ziyueyuwen.xiniao.bean.vo;

import com.alibaba.fastjson.JSONObject;
import com.ziyueyuwen.xiniao.bean.ZyClassInfo;
import com.ziyueyuwen.xiniao.bean.ZyClassLessonInfo;
import com.ziyueyuwen.xiniao.bean.ZyLessonMessageTask;

import java.util.List;

/**
 * @author wancheng  on 2018/12/22.
 */
public class ZyLessonVO extends ZyClassLessonInfo{

    private String day;

    private String timeSlot;

    private Boolean ifComplete;

    private Integer subjectId;

    private Integer lessonIndex;

    private ZyCourseVO course;

    private ZyClassInfo classInfo;

    private List<LessonMessageTaskVO> task;

    private Boolean ifFinishedHomework;

    private Boolean isComplete;

    /**
     * 答题类型
     */
    private JSONObject answerOrder;

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getTimeSlot() {
        return timeSlot;
    }

    public void setTimeSlot(String timeSlot) {
        this.timeSlot = timeSlot;
    }

    public Boolean getIfComplete() {
        return ifComplete;
    }

    public void setIfComplete(Boolean ifComplete) {
        this.ifComplete = ifComplete;
    }

    public List<LessonMessageTaskVO> getTask() {
        return task;
    }

    public void setTask(List<LessonMessageTaskVO> task) {
        this.task = task;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    @Override
    public Integer getLessonIndex() {
        return lessonIndex;
    }

    @Override
    public void setLessonIndex(Integer lessonIndex) {
        this.lessonIndex = lessonIndex;
    }

    public ZyCourseVO getCourse() {
        return course;
    }

    public void setCourse(ZyCourseVO course) {
        this.course = course;
    }

    public ZyClassInfo getClassInfo() {
        return classInfo;
    }

    public void setClassInfo(ZyClassInfo classInfo) {
        this.classInfo = classInfo;
    }

    public Boolean getComplete() {
        return isComplete;
    }

    public void setComplete(Boolean complete) {
        isComplete = complete;
    }

    public Boolean getIfFinishedHomework() {
        return ifFinishedHomework;
    }

    public void setIfFinishedHomework(Boolean ifFinishedHomework) {
        this.ifFinishedHomework = ifFinishedHomework;
    }

    public JSONObject getAnswerOrder() {
        return answerOrder;
    }

    public void setAnswerOrder(JSONObject answerOrder) {
        this.answerOrder = answerOrder;
    }

    @Override
    public String toString() {
        return "ZyLessonVO{" +
                "day='" + day + '\'' +
                ", timeSlot='" + timeSlot + '\'' +
                ", ifComplete=" + ifComplete +
                ", subjectId=" + subjectId +
                ", lessonIndex=" + lessonIndex +
                ", course=" + course +
                ", classInfo=" + classInfo +
                ", task=" + task +
                ", isComplete=" + isComplete +
                '}';
    }
}
